﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ApiDoc.CodeSyntaxGenerators
{
    /// <summary>
    /// Factory for ICodeSyntaxGenerators.
    /// </summary>
    partial class CodeSyntaxGeneratorFactory
    {
        /// <summary>
        /// Default factory.
        /// </summary>
        public static CodeSyntaxGeneratorFactory Default
        {
            get
            {
                if (s_default == null) {
                    s_default = new CodeSyntaxGeneratorFactory();
                }

                return s_default;
            }

            set
            {
                s_default = value;
            }
        }

        private static CodeSyntaxGeneratorFactory s_default;
    }
}
